package com.yuanss.smart.framework.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description 用于返回的视图对象
 * @Date 2024/11/14 下午2:57
 * @Created by 菜到不敢run
 */
public class View {
    /**
     * 视图路径
     */
    private String path;

    /**
     * 模型数据
     */
    private Map<String, Object> model;

    public View(String path) {
        this.path = path;
        this.model = new HashMap<String, Object>();
    }

    public String getPath(){
        return path;
    }

    public Map<String, Object> getModel() {
        return model;
    }
}
